/**
 * 
 */
package com.arx.script.flyweight;

import com.arx.interactive.InteractiveObject;

/**
 * @author Donald
 */
public class StackedEvent {
	private String				eventname;
	private boolean				exist;
	private InteractiveObject	io;
	private long				msg;
	private String				params;
	private InteractiveObject	sender;

	/**
	 * Gets the exist
	 * @return {@link boolean}
	 */
	public boolean exists() {
		return exist;
	}

	/**
	 * Gets the eventname.
	 * @return {@link String}
	 */
	public String getEventname() {
		return eventname;
	}

	/**
	 * Gets the io
	 * @return {@link InteractiveObject}
	 */
	public InteractiveObject getIo() {
		return io;
	}

	/**
	 * Gets the msg
	 * @return {@link long}
	 */
	public long getMsg() {
		return msg;
	}

	/**
	 * Gets the params
	 * @return {@link String}
	 */
	public String getParams() {
		return params;
	}

	/**
	 * Gets the sender
	 * @return {@link InteractiveObject}
	 */
	public InteractiveObject getSender() {
		return sender;
	}

	/**
	 * Sets the eventname
	 * @param eventname the eventname to set
	 */
	public void setEventname(String eventname) {
		this.eventname = eventname;
	}

	/**
	 * Sets the exist
	 * @param val the exist to set
	 */
	public void setExists(final boolean val) {
		exist = val;
	}

	/**
	 * Sets the io
	 * @param io the io to set
	 */
	public void setIo(InteractiveObject val) {
		io = val;
	}

	/**
	 * Sets the msg
	 * @param msg the msg to set
	 */
	public void setMsg(long val) {
		msg = val;
	}

	/**
	 * Sets the params
	 * @param params the params to set
	 */
	public void setParams(String val) {
		params = val;
	}

	/**
	 * Sets the sender
	 * @param val the sender to set
	 */
	public void setSender(final InteractiveObject val) {
		sender = val;
	}
}
